package com.many.common.exception;

/**
 * @ClassName ErrorCodes
 * @Description TODD
 * @Author James
 * @Date 2022/7/22
 * @Version 1.0
 **/
public class ErrorCodes {

    /**
     * =============== 公共异常 ==================
     */
    public static final String SYSTEM_ERROR = "00001";
    public static final String AUTHENTICTION_ERROR = "00002";
    public static final String ILLEGAL_PARAM = "00003";
    public static final String REPEAT_REQUEST = "00004";
    public static final String TOKEN_ILLEGAL = "00005";
    public static final String TOKEN_EXPIRED = "00006";
    public static final String UPDATE_FAIL = "00007";
    public static final String REPEAT_OPERATE = "00008";


    /**
     * =============== 用户类异常 ==================
     */
    public static final String USER_MOBILE_NUM_ILLEGAL = "10001";
    public static final String PASSWORD_ILLEGAL = "10002";
    public static final String USER_NAME_EXISTS = "10003";
    public static final String PASSWORD_WRONG = "10004";
    public static final String USER_ID_ILLEGAL = "10005";
    public static final String USER_NOT_EXISTS = "10006";
    public static final String VERIFY_CODE_ILLEGAL = "10007";
    public static final String USER_NAME_NOT_EXISTS = "10008";
    public static final String USER_CODE_IS_NULL = "10009";
    public static final String ORIGINAL_PASSWORD_ILLEGAL = "10010";


    public static final String AMOUNT_IS_NULL = "11008";
    public static final String TYPE_ERROR = "11009";
    public static final String CURRENTLY_IS_DEMO_ACCOUNT = "11010";

}
